<?php


namespace App\Extensions\Grid\Displayers;

class CommonFileModal extends FileModal
{
    protected function getLoadUrl()
    {
        $renderable = str_replace('\\', '_', $this->renderable);
        $model_type = get_class($this->row);
        return admin_route('handle-renderable', compact('renderable', 'model_type'));
    }
}
